﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MapaListGrid.ascx.cs"
 Inherits="UILGestion.Control.MapaListGrid" %>

<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc1" %>
<script src="../Scripts/controlGrid.js" type="text/javascript"></script>


<asp:Panel runat="server" ID="Panelcomparativo"  >
<asp:DataPager ID="pager" PagedControlID="ComparativoListView" runat="server" >
    <Fields>
      <cc1:PagerField NextPageImageUrl="~/Images/arrow_right2.gif" PreviousPageImageUrl="~/images/arrow_left.gif" />
    </Fields>
</asp:DataPager>
<asp:ListView ID="listView1" runat="server" OnDataBound="ListView1_DataBound" 
    DataKeyNames="idInternal,idObra" onitemdatabound="ListView1_ItemDataBound">
    <LayoutTemplate>
        <%--<table id="itemPlaceHolderContainer"   border="0"   runat="server"  >
            
            <tr id="Tr1" runat="server" class="ms-crm-List-Header" >
            </tr>
            <tr id="itemPlaceholder" runat="server">
            </tr>
        </table>--%>
    </LayoutTemplate>
    <ItemTemplate>
        <tr  style='border-color:Silver;background-color: <%# (Container.DataItemIndex % 2 == 0)?"#fff":"#eee" %>'>
            <td width="65px">
            
                <asp:Literal ID="mapaLiteral" runat="server" Text='<%# Eval("mapaLit") %>'/>   
                
                

            </td>
            
        </tr>
    </ItemTemplate>
    <EmptyDataTemplate>
        <table id="Table1" runat="server" style="">
            <tr>
                <td>
                     <h2 style="font-size: x-small; color: #960818">
                        No existe Informacion.</h2>
                </td>
            </tr>
        </table>
    </EmptyDataTemplate>
</asp:ListView>



</asp:Panel>

    
     